<!-- search area   -->
<div class="row searchLineWrap">
	<form class="form-horizontal" method="post" action="${cxt!}/platform/parameter/list" id="searchForm">
		 <div class="row">
		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.parameterName"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="parameter.l_name" placeholder="${_res['systemManage.parameterName']}" value="${paramMap['parameter.l_name']}"/>
		         </div>
		       </div>
		    </div>
	    
		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.parameterCode"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="parameter.l_code" placeholder="${_res['systemManage.parameterCode']}" value="${paramMap['parameter.l_code']}"/>
		         </div>
		       </div>
		    </div>
		</div>
		<div class="row">
			<div class="col-md-5">
				<div class="form-group">
					<label class="col-md-4 control-label">${_res["systemManage.status"]}</label>
					<div class="col-md-8">
							<#dict type="select" name="parameter.f_status" dictCode="COMMON_STATUS" value="${paramMap['parameter.f_status']}" />
					</div>
				</div>
			</div>
			
			<div class="col-md-2">
		        <div class="form-group">
		          <button type="button" class="btn btn-primary pull-left" onclick="ajaxForm('content','searchForm')">
		          <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
		        </div>
		    </div>
		  </div>
	  </div>
	</form>
</div>
<!-- search area end  -->

<div class="row searchLineWrap">
	<% if(hasPrivilegeUrl("parameterAdd")){ %>
		<p><a href="javascript:void(0);" onClick="ajaxContent('/platform/parameter/add/a');" class="btn btn-primary pull-left">${_res["systemManage.addParameter"]}</a><div class="clearfix"></div></p>
	<% } %>
	<table class="table  table-bordered table-hover dataTables-example">
	    <thead>
	        <tr>
	            <th>${_res["systemManage.parameterName"]}</th>
	            <th>${_res["systemManage.parameterCode"]}</th>
	            <th>${_res["systemManage.parameterValue"]}</th>
	            <th>${_res["systemManage.menuStatus"]}</th>
	            <th>${_res["system.operator"]}</th>
	         </tr>
	    </thead>
	    <tbody>
		    <% for(parameter in splitPage.list!){ %>
		      <tr >
		            <td>${parameter.name!}</td>
		            <td>${parameter.code!}</td>
		            <td>${parameter.value!}</td>
		            <td><#dict type="lable" value='${parameter.status!}' dictCode="COMMON_STATUS"/></td>
		            <td>
		            	<% if(hasPrivilegeUrl("parameterView")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/parameter/view/${parameter.id!}');">${_res["system.view"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("parameterEdit")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/parameter/update/e-${parameter.id!}')">${_res["system.edit"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("parameterDelete")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxDelete('/platform/parameter/delete/${parameter.id!}')">${_res["system.delete"]}</button>
		           		<% } %>
		            </td>
		      </tr>
		     <% } %>
	    </tbody>
	</table>
	
	<div id="splitPageDiv">
		<#page formId="searchForm"  />
	</div>
	<#nav />
</div>		



